/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.List;

import com.itinsys.enma.domain.dto.PeriodDTO;
/**
 * @author pferraz
 *
 */
public class PeriodResponse extends Response{
	
	public static final int PERIOD_NOT_EXISTS=501;
	public static final int PERIODS_EXISTS = 502;
	public static final int PERIODS_NOT_EXISTS = 503;
	public static final int PERIOD_HAVE_PLANNING = 504;
	
	private List<PeriodDTO> periods;
		
	public PeriodResponse() {
		init();
		getMessagesCode().put(PERIOD_NOT_EXISTS, "PERIOD_NOT_EXISTS");
		getMessagesCode().put(PERIODS_EXISTS, "PERIODS_EXISTS");
		getMessagesCode().put(PERIODS_NOT_EXISTS, "PERIODS_NOT_EXISTS");
		getMessagesCode().put(PERIOD_HAVE_PLANNING, "PERIOD_HAVE_PLANNING");
	}

	public List<PeriodDTO> getPeriods() {
		return periods;
	}

	public void setPeriods(List<PeriodDTO> periods) {
		this.periods = periods;
	}

	

	

	
	
	
	
}
